package request

// 文章 article
type Article struct {
	Title   string `form:"title" json:"title" xml:"title"  binding:"required"`
	Content string `form:"content" json:"content" xml:"content"  binding:"required"`
}

type Browse struct {
	Title string `form:"title" json:"title" xml:"title"  binding:"required"`
}

type Good struct {
	ArticleId int `form:"articleId" json:"articleId" xml:"articleId"  binding:"required"`
	Num       int `form:"num" json:"num" xml:"num"  binding:"required"`
}

type Discuss struct {
	ArticleId int    `form:"articleId" json:"articleId" xml:"articleId"  binding:"required"`
	Content   string `form:"content" json:"content" xml:"content"  binding:"required"`
	Num       int    `form:"num" json:"num" xml:"num"  binding:"required"`
}

type Reply struct {
	FatherId int    `form:"fatherId" json:"fatherId" xml:"fatherId"  binding:"required"`
	Content  string `form:"content" json:"content" xml:"content"  binding:"required"`
	Num      int    `form:"num" json:"num" xml:"num"  binding:"required"`
}

type List struct {
	Content string `form:"content" json:"content" xml:"content"  binding:"required"`
}

type Statistics struct {
	ArticleId int    `form:"articleId" json:"articleId" xml:"articleId"  binding:"required"`
	Content   string `form:"content" json:"content" xml:"content"  binding:"required"`
	Num       int    `form:"num" json:"num" xml:"num"  binding:"required"`
}

type Del struct {
	ArticleId int `form:"articleId" json:"articleId" xml:"articleId"  binding:"required"`
}
